package com.imooc.ad;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Created byFengGuoXing  DATE:19-1-30 14:04
 */
@SpringBootApplication
@EnableFeignClients //可以调用其他的微服务 可以再dishbot里面实现监控
@EnableEurekaClient
@EnableCircuitBreaker //实现监控
public class SponsorApplication {
    public static void main(String[]args){
        SpringApplication.run(SponsorApplication.class,args);
    }
}